<?php defined('BASEPATH') OR exit('No direct script access allowed');

class chk_status extends CI_Controller {

	function __construct()
	{
		parent::__construct();
		if (!$this->ion_auth->logged_in())
		{
			//redirect them to the login page
			redirect('auth/login', 'refresh');
		}
		  $this->load->library('datatables');	
        $this->load->library('form_validation');		
		$this->load->model('chk_status_model');
	}
	
public function chk_case()
{

$meta['page_title'] = 'Case Status';
$this->load->view('common/header',$meta);		
$this->load->view('status/chk_case');
$this->load->view('common/footer');
}	
	
public function get_case()
{	

$id=$_REQUEST['id'];
$this->data['detail']=$this->chk_status_model->get_detail($id);
$this->load->view('admin/status/case_detail',$this->data);
}	

	
}?>	